<?php
/**
 * Created by PhpStorm.
 * User: august
 * Date: 2021/5/18
 * Time: 15:01
 */

namespace DesignPatterns\Creator\AbstractFactory;

/**
 * 具体产品A
 * Class MySqlUser
 * @package DesignPatterns\Creator\AbstractFactory
 */
class MySqlUser implements IUser
{
    public function insert()
    {
        echo "向 Mysql中插入数据user";
    }

    public function select()
    {
        echo "从Mysql数据库中查询User";
    }
}